package cn.wp.order.service;

import cn.wp.basic.service.IBaseService;
import cn.wp.order.domain.ProductOrder;
import cn.wp.user.domain.User;

import java.util.Map;

public interface IProductOrderService extends IBaseService<ProductOrder> {
    /**
     * 提交订单
     * @param params    前台传的数据（addressId	1   payId	"aliPay"    productId	8）
     * @param user  token中对应的登录用户
     */
    String createOrder(Map<String, String> params, User user);
}
